package erp.education.server.db.entites.setup.school;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

@Entity
@Table(name = "course_details")
public class Courses implements Serializable {

	@Id
	@TableGenerator(name = "course_gen", table = "seq_keys", allocationSize = 1)
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "course_gen")
	@Column(name = "courseId")
	private Long courseId;
	@Column(name = "courseName")
	private String courseName;
	 

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public Long getCourseId() {
		return courseId;
	}

 

}
